<?php 
include('./fun.php');include('./hd_fun.php');
$conn=my_sql($cfg);
$re=user_login();
if($re['err']=='no_login'){direct('login.php?t='.time());exit;}
if($re['err']!='ok'){die($re['err']);}
$user=$re['user'];
$shop_id=$re['shop_id'];
$shop=get_shop();
$set=get_set();

$sql='select * from '.$cfg['e'].'data where c="fen" and shop_id="'.$shop['id'].'" order by id desc';
$l=db($sql);

?>
<style>

</style>

<fen_list>
<?php 
if($l){
foreach($l as $v){
$fen_data=unserialize(base64($v['data']));
echo '<fen_data><item>
<img src="'.$fen_data['img'].'">
<nickname>'.$fen_data['name'].'</nickname>
<info>'.$fen_data['info'].'</info>
<btx><a onclick="val_change($(this),1,1)" val="'.$v['data'].'" c="fen_data">选择</a></btx>
</item></fen_data>';


}
}else{
no_data('没有加粉数据');
}


?>
</fen_list>







<script></script>